package com.springboot.killingsystem.redis;

public class AccessKey extends BasePrefix {
    public AccessKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static AccessKey withExpire(int expireSeconds) {
        return new AccessKey(expireSeconds, "rt");
    }

    // 由于过期时间是不固定的，因此该变量废弃
    public static AccessKey getRequestTimes = new AccessKey(60, "rt");

}
